<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
  </head>
  	
  <body>
     <form  action="userAction/user.do" method="post">
     	用户：<input name="name" type="text"/><p>
     	密码：<input name="password" type="password"/><p>
     	<input value="sumit" type="submit"/>
     </form>
  </body>
</html>
